﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
	<link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.css}"/>
	<link rel="stylesheet" th:href="@{/bootstrap/css/base.css}"/>
	<link rel="stylesheet" th:href="@{/bootstrap/css/bootsnav.css}"/>
<script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>
</head>
<body style="min-height:800px; height: auto">
    <div class="container-fluid">
		<div>
        <nav class="navbar navbar-inverse row no-yj navbar-fixed-top ">
            <div class="container-fluid">
                <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-list-left" aria-expanded="false">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						</button>
                <a class="navbar-brand" href="#">Admin</a>
                </div>

                <div class="collapse navbar-collapse pull-right" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav">
                        <li><a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="glyphicon glyphicon-bell"><i class="label label-warning label-nav">66</i></i></a>
                            <ul class="dropdown-menu dropdown-menu-right">
                                <li><a href="#">哈哈哈</a></li>
                            </ul>
                        </li>
                        <li><a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="glyphicon glyphicon-envelope"><i class="label label-success label-nav">6</i></i></a>

                            <ul class="dropdown-menu dropdown-menu-right">
                                <li><a href="#">哈哈哈</a></li>
                            </ul>
                        </li>
                        <li><a class="dropdown-toggle" data-toggle="dropdown" href="#" style="height: 50px">
                            <img class="img-circle pull-left img-responsive nav-user-img" src="img/user/user.jpg" /><span class="pull-left nav-username">管理员</span></a>

                            <ul class="dropdown-menu dropdown-menu-right clearfix" style="padding-top: 0px">
                                <li class="user-li-head"><span>
                                    <img class="img-circle nav-user-img-xiala center-block" src="img/user/user.jpg" /></span>
                                    <p></p>
                                    <p class="text-center"><span>网络部 - 网络工程师</span></p>
                                    <p class="text-center"><span>远一博</span> </p>
                                    <p class="text-center"><small><span>2015-04-23加入</span></small></p>
                                </li>
                                <li style="padding: 10px 20px; padding-bottom: 20px">

                                    <div class="pull-left">
                                        <a href="#" class="btn btn-default btn-flat no-yj">资料</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="#" class="btn btn-default btn-flat no-yj">注销</a>
                                    </div>
                                </li>
                                </ul>
                        </li>
                    </ul>
                </div>
            </div>
		
		</nav>
        
		</div>
		
        <div class="row center-block" style="margin-top:50px" >
		    <nav class="nav nav-pills col-md-offset-4" >
				<ul class="nav navbar-nav">
					<li class="active"><a href="equipment.html" th:href="equipment">设备管理</a></li>
					<li><a href="hospital.html" th:href="hospital">医院管理</a></li>
					<li><a href="user.html" th:href="user">用户管理</a></li>
					<li><a href="system.html" th:href="system">系统管理</a></li>
					<li><a href="log.html" th:href="log">系统日志</a></li>
				</ul>
        </nav>
	    </div>
		
        <div class="row-fluid" style="margin-top:30px">
		
                <div class="col-md-6">
                    <div class="panel panel-default">
						<div class="panel-heading">
							<h3 class="panel-title">医院管理
							</h3>						
						</div>

                        <div class="panel-body">
							
							<br/>
							
							<div class="row">
                            <div class="col-md-6">
                                <div class="input-group">
                                    <input type="text" class="form-control" placeholder="输入医院名称" />
                                    <span class="input-group-btn">
                                        <button class="btn btn-default" type="button">搜索</button>
                                    </span>
                                </div>
                            </div>
							
							<div class="col-md-2 col-md-offset-2">
								<span class="glyphicon glyphicon-plus" style="color: rgb(62, 98, 255); font-size: 20px; align=right"></span>
								<span class="glyphicon glyphicon-download" style="color: rgb(62, 98, 255); font-size: 20px;"></span>
							</div>
							
							</div>
							
							
							<br/>
							<br/>
							
							<div class="col-md-10">
								<div class="table-responsive">
								<table class="table table-hover">
									<thead>
										<tr>
											<th>医院名称</th>
											<th>医院等级</th>
											<th>地区</th>
										</tr>
									</thead>
									<tbody>
										<tr>
											<td>新华医院</td>
											<td>二级 </td>
											<td>上海浦东</td>
										</tr>
										<tr>
											<td>瑞金医院</td>
											<td>三级甲等</td>
											<td>上海浦西</td>
										</tr>
										<tr>
											<td>上海儿童医学中心</td>
											<td>二级</td>
											<td>上海浦东</td>
										</tr>
									</tbody>
								</table>
								</div>
							</div>

                        </div>
                    </div>
                </div>
				
                <div class="col-md-6">
                    <div class="panel panel-default " style="border:0">
                        
						<div class="panel panel-default">
						<div class="panel-heading" href="#">新华医院</div>
							
                        <div class="panel-body" >
						
		
							<br/>

                            <div class="col-md-4">
                                <div class="input-group">
                                    <div class="table-responsive">
										<table class="table" >
											<thead>
												<tr>
													<th>地址</th>
													<th>上海市控江路1655号</th>
												</tr>
											</thead>
											<tbody>
												<tr>
													<td>管理员</td>
													<td>蒋新平 </td>
												</tr>
												<tr>
													<td>机构</td>
													<td>452544544414</td>
												</tr>
												<tr>
													<td>负责人</td>
													<td>蒋新平</td>
												</tr>
											</tbody>
										</table>
								</div>
                                </div>
                            </div>
							
							<div class="col-md-8" >
								<div class="map-responsive" id="dituContent">
								</div>
                            </div>
                        </div>
                    </div>

                </div>
				
				<div class="col-md-1">
				</div>
				
				</div>

        </div>
		
		<div class="col-md-12" align="center">
                    <div class="panel panel-default">
                        <div class="panel-heading">版权所有</div>
                        <div class="panel-body">                          
                            <a class="btn btn-default" href="#" role="button">Link</a>
                            <button class="btn btn-default" type="submit">Button</button>
                            <button type="button" class="btn btn-default">（默认样式）Default</button>
                            <button type="button" class="btn btn-success">（首选项）Primary</button>
							<button type="button" class="btn btn-primary">（成功）Success</button>
							<button type="button" class="btn btn-info">（一般信息）Info</button>
                            <button type="button" class="btn btn-default">（危险）Danger</button>
							<button type="button" class="btn btn-info">（链接）Link</button>
                        </div>
                    </div>
                </div>



    </div>
	<script src="bootstrap/js/jquery.min.js" th:src="@{bootstrap/js/jquery.min.js}"></script>
	<script src="bootstrap/js/bootstrap.min.js" th:src="@{bootstrap/js/jquery.min.js}"></script>
	<script src="bootstrap/jquery.min.js" th:src="@{bootstrap/js/jquery.min.js}"></script>
	<script src="bootstrap/js/bootstrap.min.js" th:src="@{bootstrap/js/jquery.min.js}"></script>
	
	
	
</body>
<script type="text/javascript">
    //创建和初始化地图函数：
    function initMap(){
        createMap();//创建地图
        setMapEvent();//设置地图事件
        addMapControl();//向地图添加控件
    }
    
    //创建地图函数：
    function createMap(){
        var map = new BMap.Map("dituContent");//在百度地图容器中创建一个地图
        var point = new BMap.Point(121.524482,31.280091);//定义一个中心点坐标
        map.centerAndZoom(point,17);//设定地图的中心点和坐标并将地图显示在地图容器中
        window.map = map;//将map变量存储在全局
    }
    
    //地图事件设置函数：
    function setMapEvent(){
        map.disableDragging();//禁用地图拖拽事件
        map.disableScrollWheelZoom();//禁用地图滚轮放大缩小，默认禁用(可不写)
        map.disableDoubleClickZoom();//禁用鼠标双击放大
        map.disableKeyboard();//禁用键盘上下左右键移动地图，默认禁用(可不写)
    }
    
    //地图控件添加函数：
    function addMapControl(){
        //向地图中添加缩放控件
	var ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});
	map.addControl(ctrl_nav);
                //向地图中添加比例尺控件
	var ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});
	map.addControl(ctrl_sca);
    }
    
    
    initMap();//创建和初始化地图
</script>
</html>

